import React from 'react';
import { Switch, Route, withRouter } from 'react-router-dom';
import { Layout, Home } from './pages';

const Main = withRouter(props => <Layout {...props} />);
export default () => {
    return (
        <Main>
            <Switch>
                <Route exact={true} path="/" component={Home} />
            </Switch>
        </Main>
    );
}
;
